/**
 * Created by arvin on 2017/3/30 0030.
 */
import React,{Component} from 'react';
import { Menu } from 'antd';
export default class Nav extends Component{

    render(){
        let {active,click}=this.props;
        return(
            <Menu
                theme="dark"
                mode="horizontal"
                defaultSelectedKeys={['2']}
                style={{ lineHeight: '64px' }}
                onClick={click}
            >
                <Menu.Item key="apple">Apple</Menu.Item>
                <Menu.Item key="cloud">Cloud</Menu.Item>
                <Menu.Item key="user">User</Menu.Item>
            </Menu>
        )

        }
}